package com.snopy.jvm;

/**
 * @author snopy
 * @version 1.0.0
 * @classname Demo
 * @description
 * @email 77912204@qq.com
 * @date 2022/08/21 11:02
 */
public class Demo {
    public static void main(String[] args) throws ClassNotFoundException {
        CustomClassLoader classLoader = new CustomClassLoader("F:/workspaceA/Sonata/Sonata_java8/target/classes/com" +
                "/snopy/jvm/");
        Class<?> aClass = classLoader.loadClass("SuperClass");
        System.out.println("name:"+aClass.getName());
        //SuperClass[] sca = new SuperClass[10];
        System.out.println(SuperClass.NUM);

    }
}
